package vistasSucursal;
import java.awt.HeadlessException;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JTextField;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class FuncionalidadComanda extends javax.swing.JFrame {
	private JLabel mesa;
	private JTextField textMesa;
	private JComboBox jComboBox1;
	private JButton verComanda;
	private JButton confirmar;
	private JButton AdicionarItemComanda;
	private JTextField jTextField2;
	private JLabel cantidad;
	private JLabel platos;

	
	public FuncionalidadComanda() {
		super();
		initGUI();
	}

	public void setTextMesa(Object text) {
		textMesa.setText((String)text);
	}



	private void initGUI() {
		try {
			{
				getContentPane().setLayout(null);
				{
					mesa = new JLabel();
					getContentPane().add(mesa);
					mesa.setText("Mesa");
					mesa.setBounds(38, 30, 28, 16);
				}
				{
					platos = new JLabel();
					getContentPane().add(platos);
					platos.setText("Platos");
					platos.setBounds(38, 73, 32, 16);
				}
				{
					textMesa = new JTextField();
					getContentPane().add(textMesa);
					textMesa.setBounds(127, 27, 119, 23);
				}
				{
					ComboBoxModel jComboBox1Model = 
							new DefaultComboBoxModel(
									new String[] { "Item One", "Item Two" });
					jComboBox1 = new JComboBox();
					getContentPane().add(jComboBox1);
					jComboBox1.setModel(jComboBox1Model);
					jComboBox1.setBounds(127, 73, 212, 23);
				}
				{
					cantidad = new JLabel();
					getContentPane().add(cantidad);
					cantidad.setText("Cantidad");
					cantidad.setBounds(38, 129, 48, 16);
				}
				{
					jTextField2 = new JTextField();
					getContentPane().add(jTextField2);
					jTextField2.setBounds(127, 126, 119, 23);
				}
				{
					AdicionarItemComanda = new JButton();
					getContentPane().add(AdicionarItemComanda);
					AdicionarItemComanda.setText("Agregar Item");
					AdicionarItemComanda.setBounds(355, 122, 135, 23);
				}
				{
					confirmar = new JButton();
					getContentPane().add(confirmar);
					confirmar.setText("Confirmar");
					confirmar.setBounds(38, 256, 68, 23);
				}
				{
					verComanda = new JButton();
					getContentPane().add(verComanda);
					verComanda.setText("Ver Comanda");
					verComanda.setBounds(152, 256, 86, 23);
				}
				this.setSize(650, 345);
			}
		} catch(Exception e) {
			e.printStackTrace();
		}
	}

}
